﻿/**
 * ...
 * @author alijaya
 */

package heox.events;
import hevex.Event;

class DimensionEvent extends Event
{

	public static var WIDTH:String = "WIDTH";
	public static var HEIGHT:String = "HEIGHT";
	public static var WIDTH_OR_HEIGHT:String = "WIDTH_OR_HEIGHT";
	public static var WIDTH_AND_HEIGHT:String = "WIDTH_AND_HEIGHT";
	
	public var width(default, null) : Float;
	public var height(default, null) : Float;
	
	public function new(type:String, width:Float, height:Float) 
	{
		super(type);
		this.width = width;
		this.height = height;
	}
	
}